/**
 * 
 */
package com.study.proxy.static0;

/**
 * @author Administrator
 * @date 2019年6月4日
 */
public class OrderServiceProxy implements OrderService {

	private OrderService target;
	
	public OrderServiceProxy(OrderService target) {
		this.target = target;
	}

	@Override
	public void save() {
		System.out.println("日志打印前");
		target.save();
		System.out.println("日志打印后");
		
	}

}
